package hcn.protocol.ods.card;



import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;

@XmlRootElement(name = "MedicalCardInfo")
@XmlAccessorType(XmlAccessType.FIELD)
public class MedicalCardInfo implements Serializable {
    private String SourcePatientId;
    private String SourcePatientIdType;
    private String AuthorOrganization;
    private String AuthorOrganizationName;
    private String IdCardCode;
    private String IdCard;
    private String MedicalCardType;
    private String MedicalCardId;
    private String MedicalCardSt;
    private String EffectiveTime;
    private String Name;
    private String Sex;
    private String BirthDate;
    private String MaritalStatus;
    private String EthnicGroup;
    private String OccupationCategoryCode;
    private String PatientPhone;
    private String WorkUnit;
    private String WorkAddrPhone;
    private String AuthorId;
    private String Author;
    private String MedicalInsuranceCategoryCode;
    private String MPI;
    private Address Address;

    public MedicalCardInfo.Address getAddress() {
        return Address;
    }

    public void setAddress(MedicalCardInfo.Address address) {
        Address = address;
    }

    public String getMPI() {
        return MPI;
    }

    public void setMPI(String MPI) {
        this.MPI = MPI;
    }

    public String getMedicalInsuranceCategoryCode() {
        return MedicalInsuranceCategoryCode;
    }

    public void setMedicalInsuranceCategoryCode(String medicalInsuranceCategoryCode) {
        MedicalInsuranceCategoryCode = medicalInsuranceCategoryCode;
    }

    public String getSourcePatientId() {
        return SourcePatientId;
    }

    public void setSourcePatientId(String sourcePatientId) {
        SourcePatientId = sourcePatientId;
    }

    public String getSourcePatientIdType() {
        return SourcePatientIdType;
    }

    public void setSourcePatientIdType(String sourcePatientIdType) {
        SourcePatientIdType = sourcePatientIdType;
    }

    public String getAuthorOrganization() {
        return AuthorOrganization;
    }

    public void setAuthorOrganization(String authorOrganization) {
        AuthorOrganization = authorOrganization;
    }

    public String getAuthorOrganizationName() {
        return AuthorOrganizationName;
    }

    public void setAuthorOrganizationName(String authorOrganizationName) {
        AuthorOrganizationName = authorOrganizationName;
    }

    public String getIdCardCode() {
        return IdCardCode;
    }

    public void setIdCardCode(String idCardCode) {
        IdCardCode = idCardCode;
    }

    public String getIdCard() {
        return IdCard;
    }

    public void setIdCard(String idCard) {
        IdCard = idCard;
    }

    public String getMedicalCardType() {
        return MedicalCardType;
    }

    public void setMedicalCardType(String medicalCardType) {
        MedicalCardType = medicalCardType;
    }

    public String getMedicalCardId() {
        return MedicalCardId;
    }

    public void setMedicalCardId(String medicalCardId) {
        MedicalCardId = medicalCardId;
    }

    public String getMedicalCardSt() {
        return MedicalCardSt;
    }

    public void setMedicalCardSt(String medicalCardSt) {
        MedicalCardSt = medicalCardSt;
    }

    public String getEffectiveTime() {
        return EffectiveTime;
    }

    public void setEffectiveTime(String effectiveTime) {
        EffectiveTime = effectiveTime;
    }

    public String getName() {
        return Name;
    }

    public void setName(String name) {
        Name = name;
    }

    public String getSex() {
        return Sex;
    }

    public void setSex(String sex) {
        Sex = sex;
    }

    public String getBirthDate() {
        return BirthDate;
    }

    public void setBirthDate(String birthDate) {
        BirthDate = birthDate;
    }

    public String getMaritalStatus() {
        return MaritalStatus;
    }

    public void setMaritalStatus(String maritalStatus) {
        MaritalStatus = maritalStatus;
    }

    public String getEthnicGroup() {
        return EthnicGroup;
    }

    public void setEthnicGroup(String ethnicGroup) {
        EthnicGroup = ethnicGroup;
    }

    public String getOccupationCategoryCode() {
        return OccupationCategoryCode;
    }

    public void setOccupationCategoryCode(String occupationCategoryCode) {
        OccupationCategoryCode = occupationCategoryCode;
    }

    public String getPatientPhone() {
        return PatientPhone;
    }

    public void setPatientPhone(String patientPhone) {
        PatientPhone = patientPhone;
    }

    public String getWorkUnit() {
        return WorkUnit;
    }

    public void setWorkUnit(String workUnit) {
        WorkUnit = workUnit;
    }

    public String getWorkAddrPhone() {
        return WorkAddrPhone;
    }

    public void setWorkAddrPhone(String workAddrPhone) {
        WorkAddrPhone = workAddrPhone;
    }

    public String getAuthorId() {
        return AuthorId;
    }

    public void setAuthorId(String authorId) {
        AuthorId = authorId;
    }

    public String getAuthor() {
        return Author;
    }

    public void setAuthor(String author) {
        Author = author;
    }

    @XmlRootElement(name = "Address")
    @XmlAccessorType(XmlAccessType.FIELD)
    public static class Address {
        private String AddressDetail;
        private String Province;
        private String City;
        private String County;
        private String Town;
        private String Village;
        private String HouseNumber;
        private String PostalCode;

        public String getAddressDetail() {
            return AddressDetail;
        }

        public void setAddressDetail(String addressDetail) {
            AddressDetail = addressDetail;
        }

        public String getProvince() {
            return Province;
        }

        public void setProvince(String province) {
            Province = province;
        }

        public String getCity() {
            return City;
        }

        public void setCity(String city) {
            City = city;
        }

        public String getCounty() {
            return County;
        }

        public void setCounty(String county) {
            County = county;
        }

        public String getTown() {
            return Town;
        }

        public void setTown(String town) {
            Town = town;
        }

        public String getVillage() {
            return Village;
        }

        public void setVillage(String village) {
            Village = village;
        }

        public String getHouseNumber() {
            return HouseNumber;
        }

        public void setHouseNumber(String houseNumber) {
            HouseNumber = houseNumber;
        }

        public String getPostalCode() {
            return PostalCode;
        }

        public void setPostalCode(String postalCode) {
            PostalCode = postalCode;
        }
    }
}